package com.wzqj.agent.web.domain;

import java.util.Date;

/**
 * 角色_权限中间表
 * @author gz
 *
 */
public class RolePrivilege {

	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 角色ID
	 */
	private Integer roleId;
	/**
	 * 权限ID
	 */
	private Integer privilegeId;
	/**
	 * 创建时间
	 */
	private long createTime =  new Date().getTime();
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the roleId
	 */
	public Integer getRoleId() {
		return roleId;
	}
	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	/**
	 * @return the privilegeId
	 */
	public Integer getPrivilegeId() {
		return privilegeId;
	}
	/**
	 * @param privilegeId the privilegeId to set
	 */
	public void setPrivilegeId(Integer privilegeId) {
		this.privilegeId = privilegeId;
	}
	/**
	 * @return the createTime
	 */
	public long getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	
}
